import QtQuick 2.7


Rectangle{
    id:root
    color: normalColor
    property color normalColor

    implicitHeight: 240
    implicitWidth: 300
    radius: 22
    opacity: 0.7
    MouseArea{
        anchors.fill: parent
        onPressed:  {
            root.color = Qt.darker(normalColor)
        }
        onReleased: {
            root.color = normalColor
        }
    }
}
